package g24.partychecker;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class hoofdscherm extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.hoofdscherm);
        
        Button feesten = (Button) findViewById(R.id.Button01);
        feesten.setOnClickListener(new View.OnClickListener() 
        {
           public void onClick(View arg0) 
           {
	           Intent i = new Intent(hoofdscherm.this, feesten.class);
	           startActivity(i);
           }
        });
        
        Button mijnfeesten = (Button) findViewById(R.id.Button02);
        mijnfeesten.setOnClickListener(new View.OnClickListener() 
        {
           public void onClick(View arg0) 
           {
	           Intent i = new Intent(hoofdscherm.this, mijnfeesten.class);
	           startActivity(i);
           }
        });
        
        Button instellingen = (Button) findViewById(R.id.Button03);
        instellingen.setOnClickListener(new View.OnClickListener() 
        {
           public void onClick(View arg0) 
           {
	           Intent i = new Intent(hoofdscherm.this, instellingen.class);
	           startActivity(i);
           }
        });
    }
}